package com.henme.crm.service.admin;


import com.henme.crm.entity.admin.User;
import com.henme.crm.util.page.Page;

public interface UserService {

    void insertUser(User user);
    void updateUser(User user);
    void deleteUser(long id);
    User selectUser(long id);
    Page<User> getUserList(Page<User> page);
    void saveUserRole(Long userid, String[] roleids);
    void markLocked(String[] ids);
    void markNotLocked(String[] ids);
    void markLockedbyUserid(long id);
    void markNotLockedbyUserid(long id);

    User queryUniqueByUsername(String username);

}
